package com.hmall.search.service;

import com.hmall.api.dto.ItemDTO;
import com.hmall.common.domain.PageDTO;
import com.hmall.search.domain.dto.FilterResultDto;
import com.hmall.search.domain.po.ItemPageQuery;
import org.springframework.stereotype.Service;

import java.io.IOException;


public interface SearchService {

    PageDTO<ItemDTO> search(ItemPageQuery query) throws IOException;

    FilterResultDto filter(ItemPageQuery query) throws IOException;
}
